package com.fyt.reachgo.test;

public class LineChart implements Chart{
    private String color;
    private int size;
    public LineChart(String color, int size)
    {
        this.color = color;
        this.size = size;
    }
    public void display(String data)
    {
        System.out.println("LineChart: " + data + " color: " + color + " size: " + size + ",折线图");
    }
}
